package com.example.permission.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class myController {

    @GetMapping("/add") //写这个的话可以直接在浏览器页面的路径上输入
    public String hello(){
        return "hello spring security";
    }
}
